<?php
header("content-type:text/html;charset=utf-8");
echo crypt("imooc");
echo "<hr/>";
echo crypt("imooc","im");
echo "<hr/>";
if(CRYPT_STD_DES){
	echo "DES标准算法".crypt("imooc","this is a test");
}
echo "<hr/>";
if(CRYPT_MD5){
	echo "MD5加密：".crypt("imooc",'$1$imooc$');
}

?>